package com.test.qpbgboot.show.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ShopSaveParam {
    @ApiModelProperty(value = "店家id")
    private Long id;
    @ApiModelProperty(value = "商家id", required = true)
    @NotNull(message = "商家id不能为空")
    private Long merchantId;
    @ApiModelProperty(value = "店家名称", required = true)
    @NotBlank(message = "店家名称不能为空")
    private String shopName;
    @ApiModelProperty(value = "所在省id")
    private Integer provinceId;
    @ApiModelProperty(value = "所在市id")
    private Integer cityId;
    @ApiModelProperty(value = "所在区id")
    private Integer districtId;
    @ApiModelProperty(value = "详细地址")
    private String address;
    @ApiModelProperty(value = "经度")
    private String longitude;
    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "联系方式")
    private String contact;
    @ApiModelProperty(value = "店家描述")
    private String description;
    @ApiModelProperty(value = "店家标签列表")
    private List<Long> tagIdList;
    @ApiModelProperty(value = "营业时间")
    private String openingHours;
    @ApiModelProperty(value = "店家logo图片")
    private String logoImgUrl;
    @ApiModelProperty(value = "店家照片列表")
    private List<String> imgUrlList;
    @ApiModelProperty(value = "店家状态 0禁用 1启用", required = true)
    @NotBlank(message = "状态不能为空")
    private String status;
}
